Skip to content

feat: manual_rotate also recognize non-consts #15402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ada4a
Copy link
Contributor

@ada4a ada4a commented Aug 3, 2025

changelog: [manual_rotate]: also recognize non-consts

fixes #13028

r? @llogiq

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 3, 2025
@samueltardieu
Copy link
Member

@ada4a Note that this is a new feature, and we are in a feature freeze period, so this might be delayed.

@ada4a
Copy link
Contributor Author

ada4a commented Aug 3, 2025

The issue refers to this as a false negative, but I agree that it could be seen as a feature addition. I'm okay with waiting for a bit:)

ada4a added 4 commits August 7, 2025 23:44
switch around `*_amount` and `*_expr` -- otherwise the order gets
confusing now because of both of them being `Expr`s
this is kind of a side-effect of the next commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False negative: manual_rotate doesn't catch variable shift amounts
4 participants